import React, {Component} from 'react';
import {getRuleConfigAxiosList} from "../../../../../../utils/api/RuleConfigAxios/RuleConfigAxios";
import {RuleConfig} from "../../../../../../map/RuleConfig/RuleConfig";
import {notification} from "antd";

class RuleConfigFrom extends Component {

    componentDidMount() {

        getRuleConfigAxiosList().then(() => {
                ruleConfig, notification.info({message: "succed", description: "获取规则配置表成功"})
            }
        ).catch(() => (notification.info({message: "falure", description: "获取规则表失败"}, {})))
    }

    constructor() {
        var ruleConfig = new RuleConfig();
        super();
    }

    render() {
        return (
            <div>


            </div>
        );
    }
}

export default RuleConfigFrom;